package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Permission;

import java.util.List;

/**
 * @version V1.0
 * @author: hanshitong
 * @date: 2019-08-08 10:00
 * @description:
 */
public interface RightService {

    PageResult rightAll(Integer currentPage, Integer pageSize, String queryString);

    void add(Permission permission);

    Permission findById(Integer id);

    void edit(Permission permission);

    void delete(Integer id);

    List<Permission> findAll();

}